package com.ruoyi.tranShort.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 哨位管理对象 short_sentry_post
 * 
 * @author ruoyi
 * @date 2021-08-13
 */
public class ShortSentryPost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 哨位名称 */
    @Excel(name = "哨位名称")
    private String sentryPostName;

    /** 位置 */
    @Excel(name = "位置")
    private String address;

    /** 排序 */
    @Excel(name = "排序")
    private Long sortNum;

    /** 网关id */
    @Excel(name = "网关id")
    private Long shortStationDeviceId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSentryPostName(String sentryPostName) 
    {
        this.sentryPostName = sentryPostName;
    }

    public String getSentryPostName() 
    {
        return sentryPostName;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setSortNum(Long sortNum) 
    {
        this.sortNum = sortNum;
    }

    public Long getSortNum() 
    {
        return sortNum;
    }
    public void setShortStationDeviceId(Long shortStationDeviceId) 
    {
        this.shortStationDeviceId = shortStationDeviceId;
    }

    public Long getShortStationDeviceId() 
    {
        return shortStationDeviceId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sentryPostName", getSentryPostName())
            .append("address", getAddress())
            .append("sortNum", getSortNum())
            .append("shortStationDeviceId", getShortStationDeviceId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
